//
//  companycell.m
//  OfferJob
//
//  Created by 河南动力无限科技有限公司 on 17/7/20.
//  Copyright © 2017年 郑州动力无限科技. All rights reserved.
//

#import "companycell.h"

@implementation companycell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self=[super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        
        
        
        _imagView=[[UIImageView alloc]initWithFrame:CGRectMake(10*kAppScale, 10*kAppScale, 60*kAppScale, 60*kAppScale)];
        _imagView.backgroundColor=[UIColor redColor];
        _imagView.image=[UIImage imageNamed:@""];
        [self.contentView addSubview:_imagView];
        
        
        
        _titleLB=[[UILabel alloc]initWithFrame:CGRectMake(80*kAppScale, 10*kAppScale,150*kAppScale, 20*kAppScale)];
        _titleLB.textColor=[UIColor blackColor];
        _titleLB.textAlignment=NSTextAlignmentLeft;
        _titleLB.font=[UIFont systemFontOfSize:13*kAppScale];
        [self.contentView addSubview:_titleLB];
        
        
        _numLB=[[UILabel alloc]initWithFrame:CGRectMake(80*kAppScale,30*kAppScale,100*kAppScale, 20*kAppScale)];
        _numLB.textColor=grayTextColor;
        _numLB.textAlignment=NSTextAlignmentLeft;
        _numLB.font=[UIFont systemFontOfSize:11*kAppScale];
        [self.contentView addSubview:_numLB];
        
        
        _nameLB=[[UILabel alloc]initWithFrame:CGRectMake(80*kAppScale,50*kAppScale,150*kAppScale, 20*kAppScale)];
        _nameLB.textColor=[UIColor redColor];
        _nameLB.textAlignment=NSTextAlignmentLeft;
        _nameLB.font=[UIFont systemFontOfSize:12*kAppScale];
        [self.contentView addSubview:_nameLB];
        
        
        
        
        _moneyLB=[[UILabel alloc]initWithFrame:CGRectMake(260*kAppScale,10*kAppScale,100*kAppScale, 20*kAppScale)];
        _moneyLB.textColor=grayTextColor;
        _moneyLB.textAlignment=NSTextAlignmentRight;
        _moneyLB.font=[UIFont systemFontOfSize:12*kAppScale];
        [self.contentView addSubview:_moneyLB];
        
        
        
        
        
        _timeLB=[[UILabel alloc]initWithFrame:CGRectMake(260*kAppScale,35*kAppScale,100*kAppScale, 20*kAppScale)];
        _timeLB.textColor=grayTextColor;
        
        _timeLB.textAlignment=NSTextAlignmentRight;
        _timeLB.font=[UIFont systemFontOfSize:12*kAppScale];
        [self.contentView addSubview:_timeLB];
        
        
        
        _LineView=[[UIView alloc]initWithFrame:CGRectMake(10*kAppScale, 79*kAppScale,SCREEN_WIDTH-20*kAppScale, 0.5)];
        _LineView.backgroundColor=blackLineColore;
        [self.contentView addSubview:_LineView];
 
        
    }
    return self;
}

@end
